package com.example.day5.service.impl;

import com.example.day5.entity.Student;
import com.example.day5.mapper.StuMapper;
import com.example.day5.service.StuService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class StuServiceImpl implements StuService {
    @Resource
    private StuMapper stuMapper;
    @Override
    public Student findByNameAndPwd(Student stu) {
        return stuMapper.findByNameAndPwd(stu);
    }
}
